package com.example.bootintegration.dao.prod.repository.impl;

/**
 * @author Quintoy
 * @date 2022/3/7
 * @email quintoy@synnex.com
 */
//@Component
//public class ProblemRepositoryImpl implements EntityManagerAware {
//
//    @PersistenceContext(unitName = "prod")
//    private EntityManager entityManager;
//
//    public List<ProblemRepository> findAll() {
//        Query nativeQuery = entityManager.createNativeQuery("select * from problem", Problem.class);
//        List resultList = nativeQuery.getResultList();
//        return resultList;
//    }
//}
